package com.unknowpupil.eth.service.impl;

import com.unknowpupil.eth.dto.WalletDto;
import com.unknowpupil.eth.service.UsdtService;
import org.springframework.stereotype.Service;

import java.math.BigDecimal;

/**
 * @Classname: UsdtServiceImpl
 * @Author: <a> w10g </a>
 * @CreateDate: Create in 2020/1/3 16:30
 * @Description:
 * @Version: 1.0
 */
@Service
public class UsdtServiceImpl implements UsdtService {

    @Override
    public BigDecimal getBalance(String address) {
        return new BigDecimal(0.0);
    }

    @Override
    public WalletDto createWallet(String password){
        return null;
    }

    @Override
    public WalletDto readWalletBySource(String password, String source) throws Exception {
        return null;
    }

    @Override
    public int getBlockHeight() {
        return 1;
    }

    @Override
    public boolean parseBlock(long height) throws Exception {
        return false;
    }

    @Override
    public void parserTransactionInfo(Object object) throws Exception {

    }
}
